source/derelict/opencl/cl.d(73,39): Error: `@safe` function `reload` cannot access `__gshared` data `clSetCommandQueueProperty` source/derelict/opencl/cl.d(73,26): Error: cast from `extern (C) int function(void*, ulong, uint, ulong*) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(79,39): Error: `@safe` function `reload` cannot access `__gshared` data `clCreateSubBuffer` source/derelict/opencl/cl.d(79,26): Error: cast from `extern (C) void* function(void*, ulong, uint, const(void*), int*) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(80,39): Error: `@safe` function `reload` cannot access `__gshared` data `clSetMemObjectDestructorCallback` source/derelict/opencl/cl.d(80,26): Error: cast from `extern (C) int function(void*, extern (C) void function(void*, void*), void*) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(81,39): Error: `@safe` function `reload` cannot access `__gshared` data `clCreateUserEvent` source/derelict/opencl/cl.d(81,26): Error: cast from `extern (C) void* function(void*, int*) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(82,39): Error: `@safe` function `reload` cannot access `__gshared` data `clSetUserEventStatus` source/derelict/opencl/cl.d(82,26): Error: cast from `extern (C) int function(void*, int) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(83,39): Error: `@safe` function `reload` cannot access `__gshared` data `clSetEventCallback` source/derelict/opencl/cl.d(83,26): Error: cast from `extern (C) int function(void*, int, extern (C) void function(void*, int, void*), void*) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(84,39): Error: `@safe` function `reload` cannot access `__gshared` data `clEnqueueReadBufferRect` source/derelict/opencl/cl.d(84,26): Error: cast from `extern (C) int function(void*, void*, uint, const(ulong*), const(ulong*), const(ulong*), ulong, ulong, ulong, ulong, void*, uint, const(void**), void**) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(85,39): Error: `@safe` function `reload` cannot access `__gshared` data `clEnqueueWriteBufferRect` source/derelict/opencl/cl.d(85,26): Error: cast from `extern (C) int function(void*, void*, uint, const(ulong*), const(ulong*), const(ulong*), ulong, ulong, ulong, ulong, const(void*), uint, const(void**), void**) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(86,39): Error: `@safe` function `reload` cannot access `__gshared` data `clEnqueueCopyBufferRect` source/derelict/opencl/cl.d(86,26): Error: cast from `extern (C) int function(void*, void*, void*, const(ulong*), const(ulong*), const(ulong*), ulong, ulong, ulong, ulong, uint, const(void**), void**) nothrow*` to `void**` not allowed in safe code source/derelict/opencl/cl.d(92,39): Error: `@safe` function `reload` cannot access `__gshared` data `clCreateImage2D` source/derelict/opencl/cl.d(92,26): Error: cast from `extern (C) void* function(void*, ulong, const(cl_image_format*), ulong, ulong, ulong, void*, int*) nothrow*` to `void**` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.